LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

LOCAL_SRC_FILES := endlessTank/main.cpp \
                   ../../Classes/AppDelegate.cpp \
                   ../../Classes/SceneGame.cpp \
				   ../../Classes/AwardFactory.cpp \
				   ../../Classes/AwardLayer.cpp \
				   ../../Classes/AwardNode.cpp \
				   ../../Classes/Bullet.cpp \
				   ../../Classes/CollDetector.cpp \
				   ../../Classes/GLES-Render.cpp \
				   ../../Classes/Joystick.cpp \
				   ../../Classes/MapData.cpp \
				   ../../Classes/MapLayer.cpp \
				   ../../Classes/MyContactListener.cpp \
				   ../../Classes/NodeWithColl.cpp \
				   ../../Classes/SceneOver.cpp \
				   ../../Classes/ScenePause.cpp \
				   ../../Classes/StrategyAI.cpp \
				   ../../Classes/StrategyLevel1.cpp \
				   ../../Classes/TankAI.cpp \
				   ../../Classes/TankFactory.cpp \
				   ../../Classes/TankLayer.cpp \
				   ../../Classes/TankMultiLife.cpp \
				   ../../Classes/TankNode.cpp \
				   ../../Classes/TankSprite.cpp \
				   ../../Classes/TankState.cpp \
				   ../../Classes/TankStateNormal.cpp \
				   ../../Classes/TankStateRebirth.cpp \
				   ../../Classes/TileBrick.cpp \
				   ../../Classes/TileGrass.cpp \
				   ../../Classes/TileHome.cpp \
				   ../../Classes/TileHomeWall.cpp \
				   ../../Classes/TileIron.cpp \
				   ../../Classes/TileNode.cpp \
				   ../../Classes/TileWater.cpp 

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes

LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static


include $(BUILD_SHARED_LIBRARY)

$(call import-add-path, $(COCOS_X_ROOT))
$(call import-add-path, $(COCOS_X_ROOT)/cocos)
$(call import-add-path, $(COCOS_X_ROOT)/external)
$(call import-module,editor-support/cocostudio)
$(call import-module,freetype2/prebuilt/android)
$(call import-module,extensions)
$(call import-module,ui)
$(call import-module,curl/prebuilt/android)
$(call import-module,extensions)
$(call import-module,cocos)
$(call import-module,audio/android)
$(call import-module,Box2D)
